package com.casino.tool;
import java.util.ArrayList;
import java.util.List;

public class Deck {
	private List<P> pList;

	public List<P> getpList() {
		return pList;
	}

	public Deck(int g) {
		pList = new ArrayList<P>();
		for (int i = 1; i < 14; i++) {
			for (int j = 1; j < 5; j++) {
				if (i != g) {
					P p = new P();
					p.setColor(j);
					p.setNum(i);
					pList.add(p);
				}
			}
		}
	}

	public Deck() {
		pList = new ArrayList<P>();
		for (int i = 2; i < 15; i++) {
			for (int j = 1; j < 5; j++) {
					P p = new P();
					p.setColor(j);
					p.setNum(i);
					pList.add(p);
			}
		}
	}
}
